
/**
 * 执行上下文
 */
class ExecutionContext {
    constructor(lexicalEnvironment, thisBinding) {
        //词法环境
        //variableEnvironment创建后就不会变了，lexicalEnvironment会随着函数的过程会改变
        this.variableEnvironment = this.lexicalEnvironment = lexicalEnvironment;
        //this指针 
        this.thisBinding = thisBinding;
    }
}
module.exports = ExecutionContext;